import { Menu } from 'antd';
import { Link } from 'react-router-dom';

const Sidebar = () => {
    return (
        <Menu mode="inline" defaultSelectedKeys={['1']}>
            <Menu.Item key="1">
                <Link to="/reading">全部文章</Link>
            </Menu.Item>
            <Menu.Item key="2">
                <Link to="/reading/favorites">文章收藏</Link>
            </Menu.Item>
            <Menu.Item key="3">
                <Link to="/reading/translate">翻译文章</Link>
            </Menu.Item>
        </Menu>
    );
};

export default Sidebar;